package Instance;

public class ComponentDecorator extends Component {
    private Component component;

    public ComponentDecorator(Component component){
        this.component=component;
    }

    public void display(){
        component.display();
    }
}
